<div class="header-content">
<?php 
if(isset($_SESSION['userdata'])){
	
if($_SESSION['userdata']['logged_in'] == "TRUE"){?> 
    <span>Welcome <?php echo $_SESSION['userdata']['first_name'];?>!</span>
	<a href="logout.php"> Logout </a> | <a href="account.php"> My Account</a>
	<?php }
}
else {?>
    <a href="login.php" <?php if($page=='login') echo 'class="active"'; ?>> Login </a> | <a href="register.php" <?php if($page=='register') echo 'class="active"'; ?>> Register</a>
	<?php }?>
</div>

<ul id="tabmenu">
<?php if($page!='plan-trip'):?>
	<li><a href="index.php">Plan Trip</a></li>
<?php endif;?>
<?php if($page!='find-bus'):?>
	<li><a href="find-bus.php">Find Bus</a></li>
<?php endif;?>
<?php if($page!='view-map'):?>
<!-- <li><a href="view-map.php">View Map</a></li>  -->
<?php endif;?>
<?php if($page!='saved-trips' && $page!='member-home' && @$_SESSION['userdata']['logged_in'] == "TRUE"):?>
	<li><a href="member-home.php">Saved Trips</a></li>
<?php endif;?>
<?php if($page!='saved-alerts' && @$_SESSION['userdata']['logged_in'] == "TRUE"):?>
	<li><a href="save-alert.php">Alert</a></li> 
<?php endif;?>
</ul>
